package com.itwn.service;

import com.itwn.mapper.UrlPermissionMapper;
import com.itwn.vo.PermissionsVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @topic:
 **/
@Service
public class PermissionService {
    @Autowired
    UrlPermissionMapper permissionMapper;


    public List<PermissionsVo> findAllPermissionVo(){
        List<PermissionsVo> allPermissionsVo = permissionMapper.selectAllPermissionVo();
        return allPermissionsVo;
    }

}
